package net.seehealth.healthpad.model.sportmanage;

import net.seehealth.healthpad.application.base.BaseModel;


public class SportTabooModel extends BaseModel {

	private int abnoramlId;// 异常编号--主键，当该异常在异常中不存在时，此字段默认为0，否则对应异常库中异常的编号
	private String abnoramlName;// 该异常不宜进行此运动--当异常在异常库中不存在时，只存异常名称
	private String dataSource;// 该数据的根据，1：引自《体育》一书；2：引自百度
	private String inUse;// 删除标记
	private SportItemModel sportItem; // 运动项目

	public SportTabooModel() {
		super();
	}

	public SportTabooModel(int abnoramlId, String abnoramlName,
			String dataSource, String inUse, SportItemModel sportItem) {
		super();
		this.abnoramlId = abnoramlId;
		this.abnoramlName = abnoramlName;
		this.dataSource = dataSource;
		this.inUse = inUse;
		this.sportItem = sportItem;
	}

	public int getAbnoramlId() {
		return abnoramlId;
	}

	public void setAbnoramlId(int abnoramlId) {
		this.abnoramlId = abnoramlId;
	}

	public String getAbnoramlName() {
		return abnoramlName;
	}

	public void setAbnoramlName(String abnoramlName) {
		this.abnoramlName = abnoramlName;
	}

	public String getDataSource() {
		return dataSource;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public String getInUse() {
		return inUse;
	}

	public void setInUse(String inUse) {
		this.inUse = inUse;
	}

	public SportItemModel getSportItem() {
		return sportItem;
	}

	public void setSportItem(SportItemModel sportItem) {
		this.sportItem = sportItem;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "SportTabooModel [abnoramlId=" + abnoramlId + ", abnoramlName="
				+ abnoramlName + ", dataSource=" + dataSource + ", inUse="
				+ inUse + ", sportItem=" + sportItem + "]";
	}

}
